package ${packageName}.model.en;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
* @author 19324
* @TableName ${voName}
*/
@TableName(value = "${voName}")
@Data
public class ${voName} implements Serializable {

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

<#if columns??>
    <#list vos as column>
        <#if column.type='VARCHAR'||column.type='TEXT'||column.type='CHAR'>

    /**
    * ${column.remark}
    */
    private String ${column.propertyName?uncap_first};

        </#if>
        <#if column.type='INT'>
    /**
    * ${column.remark}
    */
    private Integer ${column.propertyName?uncap_first};

        </#if>
        <#if column.type='DATETIME'>
    /**
    * ${column.remark}
    */
    private Date ${column.propertyName?uncap_first};

        </#if>
        <#if column.type='BIGINT'>
    /**
    * ${column.remark}
    */
    private Long ${column.propertyName?uncap_first};

        </#if>
        <#if column.type='DOUBLE'>
    /**
    * ${column.remark}
    */
    private Double ${column.propertyName?uncap_first};

        </#if>
        <#if column.type='BIT'>
    /**
    * ${column.remark}
    */
    private Boolean ${column.propertyName?uncap_first};

        </#if>
        <#if column.columnName='is_deleted'>

    /**
    * ${column.remark}
    */
    //    逻辑删除
    @TableLogic
    private Boolean ${column.propertyName?uncap_first};

        </#if>
    </#list>
</#if>
}